package com.jy.rhin.application.enums;

/**
 * @Description:
 * @Author: lww
 * @Date: 2022/5/12 13:41
 */
public enum AuditSourceTypeCodeEnum implements BaseEnum{

    /**
     * C.4 审计源类型代码
     */
    DISPLAY_DEVICE("1", "显示终端"),
    DATA_ACQUISITION_DEVICE("2","数据采集设备"),
    WEB_SERVER_PROCESS("3","WEB服务器"),
    APPLICATION_SERVER_PROCESS("4","应用服务器"),
    DATABASE_SERVER_PROCESS("5","数据服务器"),
    SECURITY_SERVER("6","安全服务器"),
    ISO_LEVEL_1_3_NETWORK_COMPONENT("7","ISO 1-3层网络组件"),
    ISO_LEVEL_4_6_OPERATING_SOFTWARE("8","ISO 4-6层操作软件"),
    EXTERNAL_SOURCE("9","外部源或未知类型");


    private String code;
    private String name;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    private AuditSourceTypeCodeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
